3.562 \(\int x (a^2+2 a b x^2+b^2 x^4)^{3/2} \, dx\)

Optimal. Leaf size=36 \[ \frac{\left (a+b x^2\right ) \left (a^2+2 a b x^2+b^2 x^4\right )^{3/2}}{8 b} \]

[Out]

((a + b*x^2)*(a^2 + 2*a*b*x^2 + b^2*x^4)^(3/2))/(8*b)

________________________________________________________________________________________

Rubi [A]  time = 0.0259699, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {1107, 609} \[ \frac{\left (a+b x^2\right ) \left (a^2+2 a b x^2+b^2 x^4\right )^{3/2}}{8 b} \]

Antiderivative was successfully verified.

[In]

Int[x*(a^2 + 2*a*b*x^2 + b^2*x^4)^(3/2),x]

[Out]

((a + b*x^2)*(a^2 + 2*a*b*x^2 + b^2*x^4)^(3/2))/(8*b)

Rule 1107

Int[(x_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Dist[1/2, Subst[Int[(a + b*x + c*x^2)^p, x],
 x, x^2], x] /; FreeQ[{a, b, c, p}, x]

Rule 609

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[((b + 2*c*x)*(a + b*x + c*x^2)^p)/(2*c*(2*p + 1
)), x] /; FreeQ[{a, b, c, p}, x] && EqQ[b^2 - 4*a*c, 0] && NeQ[p, -2^(-1)]

Rubi steps

\begin{align*} \int x \left (a^2+2 a b x^2+b^2 x^4\right )^{3/2} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \left (a^2+2 a b x+b^2 x^2\right )^{3/2} \, dx,x,x^2\right )\\ &=\frac{\left (a+b x^2\right ) \left (a^2+2 a b x^2+b^2 x^4\right )^{3/2}}{8 b}\\ \end{align*}

Mathematica [A]  time = 0.0118121, size = 27, normalized size = 0.75 \[ \frac{\left (a+b x^2\right ) \left (\left (a+b x^2\right )^2\right )^{3/2}}{8 b} \]

Antiderivative was successfully verified.

[In]

Integrate[x*(a^2 + 2*a*b*x^2 + b^2*x^4)^(3/2),x]

[Out]

((a + b*x^2)*((a + b*x^2)^2)^(3/2))/(8*b)

________________________________________________________________________________________

Maple [A]  time = 0.171, size = 57, normalized size = 1.6 \begin{align*}{\frac{{x}^{2} \left ({b}^{3}{x}^{6}+4\,a{b}^{2}{x}^{4}+6\,{a}^{2}b{x}^{2}+4\,{a}^{3} \right ) }{8\, \left ( b{x}^{2}+a \right ) ^{3}} \left ( \left ( b{x}^{2}+a \right ) ^{2} \right ) ^{{\frac{3}{2}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(b^2*x^4+2*a*b*x^2+a^2)^(3/2),x)

[Out]

1/8*x^2*(b^3*x^6+4*a*b^2*x^4+6*a^2*b*x^2+4*a^3)*((b*x^2+a)^2)^(3/2)/(b*x^2+a)^3

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b^2*x^4+2*a*b*x^2+a^2)^(3/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 1.47199, size = 80, normalized size = 2.22 \begin{align*} \frac{1}{8} \, b^{3} x^{8} + \frac{1}{2} \, a b^{2} x^{6} + \frac{3}{4} \, a^{2} b x^{4} + \frac{1}{2} \, a^{3} x^{2} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b^2*x^4+2*a*b*x^2+a^2)^(3/2),x, algorithm="fricas")

[Out]

1/8*b^3*x^8 + 1/2*a*b^2*x^6 + 3/4*a^2*b*x^4 + 1/2*a^3*x^2

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x \left (\left (a + b x^{2}\right )^{2}\right )^{\frac{3}{2}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b**2*x**4+2*a*b*x**2+a**2)**(3/2),x)

[Out]

Integral(x*((a + b*x**2)**2)**(3/2), x)

________________________________________________________________________________________

Giac [A]  time = 1.09965, size = 59, normalized size = 1.64 \begin{align*} \frac{1}{8} \,{\left (b^{3} x^{8} + 4 \, a b^{2} x^{6} + 6 \, a^{2} b x^{4} + 4 \, a^{3} x^{2}\right )} \mathrm{sgn}\left (b x^{2} + a\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b^2*x^4+2*a*b*x^2+a^2)^(3/2),x, algorithm="giac")

[Out]

1/8*(b^3*x^8 + 4*a*b^2*x^6 + 6*a^2*b*x^4 + 4*a^3*x^2)*sgn(b*x^2 + a)